/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author TQNINH
 */
class NumberList<T> {
    
    
    public<T> void display(T[] val) {
        for(T element : val) {
            System.out.printf("Value are: %s\n", element);
        }
    }
}

public class Ex_1 {
    
    
    public Ex_1() {
        
    }
    
    public static void main(String[] args) {
        Integer[] intValue = {1, 7, 9, 15};
        NumberList<Integer> listObj = new NumberList<Integer>();
        listObj.display(intValue);
    }
}
